﻿@{
    Layout = LayoutSwitcher.GetMasterLayout();
}
<div style="margin-bottom: 5px; height: 30px;">
    @RenderSection("SiteMapPath", false)
</div>
<div style="padding:5px;">
@{
    Ajax.Dna().CollapsablePanel()
.Stick(true)
.Header(() =>
{
    Html.RenderPartial("PanelHeader", ObjectHelper.ConvertObjectToDictionary(new
    {
        imgUrl = !string.IsNullOrEmpty(ViewBag.ImageUrl) ? Url.Content(ViewBag.ImageUrl) : "",
        title = ViewBag.Title
    }));
})
.Body(@<text>
    @RenderBody()
    </text>)
.Render();
}
</div>